package com.applet.task.quartz;



import org.quartz.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class DynamicTask {
    private static Logger logger = LoggerFactory.getLogger(DynamicTask.class);


    @Resource
    private Scheduler scheduler;

    @Scheduled(fixedRate = (10 * 60 * 1000 + 555))
    @PostConstruct
    public void execData() {


    }
}
